XMLNode.Compare Function

Compares two nodes. The return value works like StrComp.

Syntax

result = XMLNode.Compare( NodeToCompare )

Parameters

NodeToCompare

XMLNode

Return Value

Result

Integer

Notes

It returns an Integer:

If string1 < string2 it returns -1

If string1 = string2 it returns 0

If string1 > string2 it returns 1